package lib;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.List;

public abstract class WebFilter {
	
	public class TwoMenuFilter {

	}
	public List link_url = new ArrayList<String>();
	public List<String> topic_dic=new ArrayList<String>();

	public void setLink(String name, String link)
	{
		this.link_url.add(link);
		this.topic_dic.add(name);		
	}
	
	public void clean()
	{
		this.link_url.clear();
		this.topic_dic.clear();
	}
	
	public List<String> getLink()
	{
		return this.link_url;
	}
	
	public List<String> getTopicDic()
	{
		return this.topic_dic;
	}
	
	public abstract void lay_noi_dung_web(String url, String str1,String str2);
}	
